package cn.htsyb.synergy.maker.engine;

import cn.htsyb.synergy.maker.config.Maker;
import cn.htsyb.synergy.maker.model.MetaTable;

import java.sql.SQLException;
import java.util.List;

public interface IDBMetaEngine {
    /**
     * 初始化引擎
     *
     * @param config
     */
    void initEngine(Maker config);

    /**
     * 生成器
     * @return
     * @throws SQLException
     */
    List<MetaTable> generate() throws SQLException;
}
